package Serialization;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author wang'ji'cheng
 * @date 2025/7/17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Person {
    private Long id;

    private String name;

    private int age;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;

    private LocalDateTime createTime;

}
